public abstract class Robot {
	private static int idCounter = 0;
	private final int id;
	private double hours;
	private Role role;
	
	public Robot(Role role){
		idCounter++;
		this.id = idCounter;
		this.hours = 0;
		this.setRole(role);
	}
	
	public void riseHours(double hours) {
		this.hours = this.hours + hours;
	}
	
	public double getHours() {
		return this.hours;
	}
	
	public void setRole(Role role) {
		this.role = role;
	}
	
	public Role getRole() {
		return this.role;
	}
	
	public static int getIdCounter() {
		return idCounter;
	}
	
	public int getID() {
		return id;
	}
	
	public abstract void riseSpec(double spec);
	
	public abstract double getSpec();
	
}